You are here: Statements and Functions > CalMonth()
Syntax samples
CALMONTH()
The CALMONTH() function corresponds to the month of the year you defined as part of the warm-up period or simulation begin date under simulation options. Values returned by this function will be integers in the range of 1 to 12.
Any logic.
Please note
CALMONTH() works only when you select calendar date in the simulation options dialog.
Example
If CalMonth()=12 THEN WAIT 20
Else Wait 10
CALDAY(), CALDOM(), CALHOUR(), CALMIN(), and CALYEAR().